package com.Humanities.ucenter.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * @ClassName : RegisterDTO
 * @Description : 用户注册DTO类
 * @Author : abc123
 * @Date: 2024-02-16 15:34
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterDTO extends FindPasswordDTO{

    /*
    昵称
     */
    @NotEmpty(message = "昵称不能为空！")
    private String nickname;
    /**
     * 用户名
     */
    @NotEmpty(message = "用户名不能为空！")
    private String username;
}